package com.wissen.factory;
/**
 * @author wissen16(Mayur Birari)
 * this class create only one dynamic instance from present all class 
 */
public class Wissen{
	/**
	 * this method select class to be instantiate
	 * @param type define object
	 * @return dynamic instance 
	 */
	public Wissen get_category(int type){
		switch(type){
		case 2:
			return (new Intern());
		case 1:
			return (new Tech());
		}
		System.out.printf("Error:not valid option"+type);
		return null;
	}
	/**
	 * abstract methods 
	 * @return nothing
	 */
	public String create_Project(){
		return null;
	}
}
